//
//  posterDetail.m
//  timemovie
//
//  Created by Yiqiao on 15/7/25.
//  Copyright (c) 2015年 Yiqiao. All rights reserved.
//

#import "posterDetail.h"
#import "UIImageView+WebCache.h"
@implementation posterDetail


- (void)setModel:(MObj *)model{
    _model = model;
    [self setNeedsLayout];
}
- (void)layoutSubviews{
    [super layoutSubviews   ];
    _movieLable.text = _model.title;
     [_movieImage sd_setImageWithURL:[NSURL URLWithString:[_model.images objectForKey:@"medium" ]]];
}

@end
